package com.sixth.sso.feign;/**
 * @author 633yh
 * @version 1.0
 */

import com.sixth.core.entity.DictData;
import com.sixth.core.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author ：Stu YH
 * @date ：Created in 2024/8/24 10:48
 * @description：
 * @modified By：
 * @version:
 */
@FeignClient(value = "hospital-system")
public interface DictDateFeign {
    @GetMapping("/system/dict/data/type/{type}")
    public R<List<DictData>> listByType(@PathVariable String type);
}